package edu.sctu.practice.class01.fengleilin.test14;

/**
 * Created by fll on 2015/10/14.
 */
public class StaticDemoMain {
    public static void main(String[] args) {
        StaticDemo staticDemo1 = new StaticDemo();
        staticDemo1.a = 1;//非静态的变量必须有对象实例才能用

        StaticDemo.b = 2;//静态的变量不需要对象实例就可以直接用
    }
}
